package com.cee.service.Impl;

import com.cee.dao.ExamUserShortMapper;
import com.cee.model.ExamUserShort;
import com.cee.service.ExamUserShortService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@Service
@Transactional
public class ExamUserShortServiceImpl implements ExamUserShortService {

    @Autowired
    private ExamUserShortMapper examUserShortMapper;

    @Override
    public void saveExamUserShort(ExamUserShort examUserShort) {
        examUserShortMapper.insert(examUserShort);
    }

    @Override
    public void updateExamUserShort(ExamUserShort examUserShort) {
        examUserShortMapper.updateExamUserShort(examUserShort);
    }


}
